package cn.itsource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

/**
 * 启动类
 */
@SpringBootApplication
@MapperScan("cn.itsource.*.mapper")//扫描多模块的mapper接口
@EnableCaching //开启SpringCache
public class PetHomeApplication {
    public static void main(String[] args){
        SpringApplication.run(PetHomeApplication.class,args);
    }
}
